#include <Camera.h>
Public Member Functions | |
| followNodeMatrixManipulator (transformAccumulator *ta) | |
| bool | handle (const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &aa) |
| void | updateTheMatrix () |
| virtual void | setByMatrix (const osg::Matrixd &mat) |
| virtual void | setByInverseMatrix (const osg::Matrixd &mat) |
| virtual osg::Matrixd | getInverseMatrix () const |
| virtual osg::Matrixd | getMatrix () const |
Protected Member Functions | |
| ~followNodeMatrixManipulator () | |
Protected Attributes | |
| transformAccumulator * | worldCoordinatesOfNode |
| osg::Matrixd | theMatrix |
|
|
|
|
|
destructor of the followNodeMatrixManipulator class. |
|
|
the virtual function of osgGA::MatrixManipulator base class.
|
|
|
is the virtual function of osgGA::MatrixManipulator base class.
|
|
||||||||||||
|
handle function checks for selected GUI events and responds to them. For our class, the only GUI event we need to respond to is the 'FRAME' event. At every frame event we need to set our copy of the matrix to be used to position the camera equal to the matrix that represents the transformAccumulator matrix |
|
|
the virtual function of osgGA::MatrixManipulator base class.
|
|
|
the virtual function of osgGA::MatrixManipulator base class.
|
|
|
a function changes the matrix for every FRAME callback |
|
|
a variable that keeps the matrix of the camera node. |
|
|
a variable that keeps the coordinates of the node that is going to be followed. |
1.4.6-NO